﻿namespace UIFramwork
{
    public interface IUILife
    {
        /// <summary>
        /// 当 UI 创建时调用
        /// </summary>
        public virtual void CreateUI() { }

        /// <summary>
        /// 当 UI 活跃时调用
        /// </summary>
        public virtual void ActiveUI() { }

        /// <summary>
        /// 当 UI 首次活跃时
        /// </summary>
        public virtual void StartUI() { }

        /// <summary>
        /// 当 UI 待机时调用
        /// </summary>
        public virtual void DeActiveUI() { }

        /// <summary>
        /// 当 UI 释放时调用
        /// </summary>
        public virtual void DisposeUI() { }
    }
}
